<template>
  <div class="" v-html="html"></div>
</template>

<script setup lang='ts'>
import { getArticles } from "@/api/articles"
let html = ref("");
const route = useRoute();
const article = JSON.parse(route.query.article)
getArticles(article.title).then((ret: any) => {
  if (ret.status) {
    html.value = ret.data
  }
})
</script>

<style lang="less" scoped></style>
